/**
 * 
 *	利得金融
 * Copyright (c) 2013-2015 LeadBank,Inc.All Rights Reserved.
 */
package com.leadbank.springboot.example.util.context;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * @author daniel
 * @version $Id: ApplicationContextConfig.java, v 0.1 2015-7-28 上午10:00:07 daniel Exp $
 */
public class ApplicationContextConfig {

    private static Map<String, String> configMap = new HashMap<String, String>();
    
    public static String get(String key)
    {
      return (String)configMap.get(key);
    }
    
    public static synchronized void put(String key, String value)
    {
      configMap.put(key, value);
    }
    
    public static synchronized void remove(String key)
    {
      configMap.remove(key);
    }
    public static synchronized Map<String, String> all()
    {
      return configMap;
    }
}
